package com.ymatou.iapi.prodlist.service;

import java.util.List;

import org.json.JSONObject;

import com.ymatou.iapi.productquery.compare.ProductQueryInterface;
import com.ymttest.business.YmatouAutoTestCall;
import com.ymttest.utils.EnvSetup;
import com.ymttest.utils.MapUtil;

public class GetHotRecmdProductListBySellerIdCall extends YmatouAutoTestCall  implements ProductQueryInterface{
	private static String opurl="/api/Product/GetHotRecmdProductListBySellerId";
	
	public GetHotRecmdProductListBySellerIdCall(){
		super(EnvSetup.getSystemUrl("prodlist"), opurl, "GET", "JSON");
	}
	
	
	@Override
	public void addDefHeader(){
	}
	
	public JSONObject callAndGetReturnData(String sellerId){
		return callAndGetReturnData(MapUtil.hashMap("SellerId",sellerId));
	}
	
	@Override
	public JSONObject search(List<String> list) {
		return callAndGetReturnData(list.get(0));
	}
	
	public static void main(String[] args) {
		new GetHotRecmdProductListBySellerIdCall().callAndGetReturnData("3383");
	}


	
}
